package org.pt.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Optional;

@Data
public class UpdateInfoDto {
    @Schema(description = "用户ID", required = true, example = "123")
    private Integer id;

    @Schema(description = "个人简介", example = "热爱编程的全栈工程师")
    private Optional<String> bio = Optional.empty();

    @Schema(description = "学校名称", example = "清华大学")
    private Optional<String> school = Optional.empty();

    @Schema(description = "学院名称", example = "计算机学院")
    private Optional<String> college = Optional.empty();

    @Schema(description = "年龄", minimum = "1", maximum = "120", example = "25")
    private Optional<Integer> age = Optional.empty();
}
